package com.cdyx.outsideprescription.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class RecipeInfoDto implements Serializable  {
    private static final long serialVersionUID = 1L;

    @TableField("appCode")
    private String appCode;

    @TableField("visitNo")
    private String visitNo;

    @TableField("patientNO")
    private String patientNO;

    @TableField("visitType")
    private String visitType;

    @TableField("visitName")
    private String visitName;

    @TableField("visitCredentialType")
    private String visitCredentialType;

    @TableField("visitCredentialNum")
    private String visitCredentialNum;

    @TableId(value = "recipeNo",type = IdType.NONE)
    private Long recipeNo;

    @TableField("recipeDate")
    private String recipeDate;

    @TableField("hospitalCode")
    private String hospitalCode;

    @TableField("hospitalName")
    private String hospitalName;

    @TableField("medicalDeptCode")
    private String medicalDeptCode;

    @TableField("medicalDeptName")
    private String medicalDeptName;

    @TableField("doctorCode")
    private String doctorCode;

    @TableField("doctorName")
    private String doctorName;

    @TableField("doctorCredentialType")
    private String doctorCredentialType;

    @TableField("doctorCredentialNum")
    private String doctorCredentialNum;

    @TableField("doctorPhone")
    private String doctorPhone;

    @TableField("positionalTitle")
    private String positionalTitle;

    @TableField("auditDoctorName")
    private String auditDoctorName;

    @TableField("auditCaSign")
    private String auditCaSign;

    @TableField("caSign")
    private String caSign;

    @TableField("recipeKinds")
    private String recipeKinds;

    @TableField("recipeTime")
    private String recipeTime;

    @TableField("expiryDate")
    private String expiryDate;

    @TableField("openDocAdvice")
    private String openDocAdvice;

    @TableField("auditDocAdvice")
    private String auditDocAdvice;
    private List<RecipeInfoDetailDto> recipeDetails;


}
